-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable more memory regions on the QVM #873
Enable more memory regions on the QVM #873
Conversation
@karalekas how do you feel about merging this? kyle has some interest in a cousin PR, #874, which has some friction with this one. it would be good to either get in this first or decide to drop it. |
Is it possible to specify which memory regions should be retrieved from the QVM? As long as the parameter (Thanks for your PR, I needed to read classical memory beyond "ro" as well -- your work was a great starting point!) |
My understanding is that the I'm pretty sure that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you dropped a return
? Otherwise LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like there are still some open comments from @appleby
Also, I deleted the changes.rst entry when resolving the merge conflict (on purpose). Please add the entry back, but now to CHANGELOG.md:
|
OK: I replied to the sets of comments from @karalekas and from @appleby . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The QVM returns the full classical memory contents with each run. This PR exposes this functionality at the
QuantumComputer.read_memory
level, while retaining the restriction that the QPU only permitsro
memory reads.One might consider toggling this behavior when in pursuit of QPU realism, which I know is a broad feature under discussion—but I'd like this feature to be exposed to users who care to employ it.